projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
989c3fc
)
[IA64] Bug fix: DOM0_GETMEMLIST: do not return -EINVAL in case of success!
author
awilliam@xenbuild.aw
<awilliam@xenbuild.aw>
Thu, 6 Jul 2006 14:18:50 +0000
(08:18 -0600)
committer
awilliam@xenbuild.aw
<awilliam@xenbuild.aw>
Thu, 6 Jul 2006 14:18:50 +0000
(08:18 -0600)
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
xen/arch/ia64/xen/dom0_ops.c
patch
|
blob
|
history
diff --git
a/xen/arch/ia64/xen/dom0_ops.c
b/xen/arch/ia64/xen/dom0_ops.c
index a4127bdba6ab986b16f02860a6bd0bcb0b9d9915..43c60afded6c07eccdff5d7cd5b196d939fd4943 100644
(file)
--- a/
xen/arch/ia64/xen/dom0_ops.c
+++ b/
xen/arch/ia64/xen/dom0_ops.c
@@
-164,9
+164,10
@@
long arch_do_dom0_op(dom0_op_t *op, XEN_GUEST_HANDLE(dom0_op_t) u_dom0_op)
unsigned long nr_pages = op->u.getmemlist.max_pfns & 0xffffffff;
unsigned long mfn;
- ret = -EINVAL;
- if ( d == NULL )
+ if ( d == NULL ) {
+ ret = -EINVAL;
break;
+ }
for (i = 0 ; i < nr_pages ; i++) {
pte_t *pte;